<script setup lang="tsx">
const { AddButton, count, ReduceButton } = useCalculator(999)

const map = new Map([
  ['111', '第一个'],
  ['2222', '第二个']
])

const res = map.get("111")




</script>
<template>
  <div>
    <div class="flex">
      <component :is="AddButton"></component>
      {{ count }}
      <ReduceButton />
    </div>
    <!-- <el-button type="primary">饿了么按钮</el-button> -->
    <el-button type="primary">饿了么按钮</el-button>
  </div>
</template>
